package cn.yunhe.test;

import java.util.List;

import org.junit.Test;

import cn.yunhe.model.Student;
import cn.yunhe.service.StudentService;

public class Demo1 {
	
	StudentService studentService=new StudentService();
	
	@Test
	public void test1() {
		List<Student> list=studentService.getAllStudent();
		for (Student student : list) {
			System.out.println(student.getS_name());
		}
		
	}
	
}
